home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
WINPROGS
/
UPC12BS1.ZIP
/
MSCMAKE
< prev
Wrap
Text File
|
1993-10-04
|
44KB
|
1,378 lines
# Program: mscmake 15 May 1989
# Author: Andrew H. Derbyshire
# Kendra Electronic Wonderworks
# P. O. Box 132
# Arlington, MA 02174
# Function: Build UUPC/extended from source files
# Processor: Microsoft nmake
# External files: MASM (8088 Assembler)
# CL (Microsoft C 6.0 compiler)
# LINK or (MS-DOS Linker)
# LINK386 (OS/2 Linker)
# Input source files.
#
# Copyright (c) 1989-1993 by Kendra Electronic Wonderworks;
# all rights reserved except those explicitly granted by
# the UUPC/extended license.
#
# nmk /nologo /s /f mscmake prodr
# nmake /nologo /s /f mscmake prodp
# nmake /nologo /s /f mscmake prodn
#
# $Id: mscmake 1.37 1993/10/04 16:42:24 ahd Exp $
#
# $Log: mscmake $
# Revision 1.37 1993/10/04 16:42:24 ahd
# Correct directory archives are created in
#
# Revision 1.36 1993/10/04 15:40:46 ahd
# Revise makefile to generate true release names
# Include 00readme.now in all archives
#
# Revision 1.35 1993/10/03 20:36:32 ahd
# Force NUL as file name linkinh
#
# Revision 1.34 1993/10/02 23:11:57 dmwatt
# Add TCP/IP error messages
#
# Revision 1.33 1993/10/02 19:05:48 ahd
# Change stack size on DOS modules
# Use full path name for files to aid debugging
#
# Revision 1.32 1993/10/01 02:07:43 dmwatt
# Add new prtynt.obj to parallel OS/2 version
# Delete unneeded library paths
#
# Revision 1.31 1993/09/29 04:47:26 ahd
# Add unique signal handler for suspend port
#
# Revision 1.30 1993/09/27 00:42:15 ahd
# Add suspend of serial ports by K. Rommel
#
# Revision 1.29 1993/09/20 04:34:28 ahd
# TCP/IP support from Dave Watt
# 't' protocol support
# Disable debug output when installing
#
# Revision 1.28 1993/09/02 12:07:45 ahd
# HPFS support
#
# Revision 1.27 1993/08/26 04:59:46 ahd
# Compile without WINT variable, other NT corrections on kendra
#
# Revision 1.26 1993/08/02 03:21:04 ahd
# Rename zip files
#
# Revision 1.25 1993/07/31 16:19:27 ahd
# Break trumpet into unique module
# General clean up of unneeded definitions
# Always use version header
#
# Revision 1.24 1993/07/20 21:43:58 ahd
# Use only one OS/2 definitions file (per Kae Uwe Rommel)
#
# Revision 1.23 1993/06/15 12:17:34 ahd
# Rename commfifo.asm to comm.asm
#
# Revision 1.22 1993/06/06 15:03:35 ahd
# Move to release 1.12A
#
# Revision 1.21 1993/05/30 15:25:11 ahd
# Add INT14 driver support
#
# Revision 1.20 1993/05/10 02:47:43 ahd
# Include getuupc.cmd in installed OS/2 files
#
# Revision 1.19 1993/04/19 13:15:52 ahd
# Begin version 1.11z
#
# Revision 1.18 1993/04/17 13:40:13 ahd
# Fix win/32 header build
#
# Revision 1.17 1993/04/16 13:11:15 dmwatt
# Build win/nt header file less often
#
# Revision 1.16 1993/04/16 12:55:11 dmwatt
# Add support for special Win/NT version id header
#
# Revision 1.15 1993/04/14 02:42:33 ahd
# Fix uucp target name for Windows/NT
#
# Revision 1.14 1993/04/14 00:44:19 ahd
# Drop use of FMT from ZIP file build
# Add Windows/NT zip file build
# Add credit for Dave and Windows/NT Build
#
# Revision 1.13 1993/04/10 21:24:27 dmwatt
# Add Windows/NT support
#
# Revision 1.11 1993/04/05 12:25:39 ahd
# Clean up .def files
#
# Revision 1.10 1993/04/05 04:31:27 ahd
# HPFS support (module definition files)
#
# Revision 1.9 1993/04/04 04:55:31 ahd
# Add uunamep.exe to testp: build
#
# Revision 1.8 1993/03/24 01:57:13 ahd
# rn support
#
# Revision 1.7 1993/03/06 22:47:10 ahd
# Generic build, including rn.exe
#
# Revision 1.6 1993/01/23 19:07:01 ahd
# Revise alias
#
# Revision 1.5 1992/12/04 00:58:57 ahd
# Add sysalias to rmail build
#
# Revision 1.5 1992/12/04 00:58:57 ahd
# Add sysalias to rmail build
#
# Revision 1.4 1992/11/29 22:12:36 ahd
# Correct TMP directory to TEMP
# Add installation of OS/2 CMD files from RCS source directory
# Change copyright message
# Add build for TESTULIB.EXE
#
# Revision 1.3 1992/11/27 14:37:55 ahd
# Add scrsize() to library build
#
# Revision 1.2 1992/11/22 21:04:42 ahd
# Add normalize() to build
.SUFFIXES: .c .asm .zip .obj
# *--------------------------------------------------------------------*
# * Note: By default, this file generates code for 80286 *
# * systems and above. If you are generating *
# * UUPC/extended for a 8088 system, remove the /G2 *
# * option from the CCOPT= line, below *
# *--------------------------------------------------------------------*
# *--------------------------------------------------------------------*
# * Our release number. This is updated each time we ship it *
# * out to some unsuspecting user, or sometimes when we do a *
# * major fix even if we don't ship it out to the lusers. ANY *
# * VERSION NOT DONE ON kendra SHOULD BE TAGGED AS N.NNAm, WHERE *
# * N.NNA IS THE NUMBER UUPC was shipped as, and 'm' any string *
# * to indentify your special version. Just upping the *
# * distributed version number will confuse you AND me. *
# *--------------------------------------------------------------------*
VERS = 1.12b
# *--------------------------------------------------------------------*
# * The memory model to be built. (Ignored by 32 bit compilers) *
# *--------------------------------------------------------------------*
!IF "$(MODEL)" == ""
MODEL = M
!ENDIF
# *--------------------------------------------------------------------*
# * Windows NT generic make include file *
# *--------------------------------------------------------------------*
!IF "$(OS)" == "Windows_NT"
!include <ntwin32.mak>
!ENDIF
# *--------------------------------------------------------------------*
# * Various directories. The TEMP directory is not defined here; *
# * rather we expect it to be defined as part of the user's *
# * environment variables *
# *--------------------------------------------------------------------*
MAIL = $(SRCSLASH)mail
UTIL = $(SRCSLASH)util
UUCP = $(SRCSLASH)uucp
RNEWS = $(SRCSLASH)rnews
UULIB = $(SRCSLASH)lib
TEST = $(SRCSLASH)test
UUCICO = $(SRCSLASH)uucico
!IF "$(OS)" == "Windows_NT"
OBJ = $(SRCSLASH)objmsnt
!ELSE
OBJ = $(SRCSLASH)objms$(MODEL)
!ENDIF
SBR = $(SRCSLASH)sbr
PRODP = \uupc\os2bin
PRODR = \uupc\bin
PRODN = \uupc\ntbin
SCRIPTS = $(SRCSLASH)scripts
# *--------------------------------------------------------------------*
# * Various file names *
# *--------------------------------------------------------------------*
ZIPPREFIXX=UPC$(VERS:.=)
ZIPPREFIX=$(SRCSLASH)$(VERS)\$(ZIPPREFIXX:C1=C)
WNTZIPV1 = $(ZIPPREFIX)n1.zip
WNTZIPV2 = $(ZIPPREFIX)n2.zip
WNTZIPV3 = $(ZIPPREFIX)n3.zip
OS2ZIPV2 = $(ZIPPREFIX)11.zip
OS2ZIPV3 = $(ZIPPREFIX)12.zip
OS2ZIPV4 = $(ZIPPREFIX)13.zip
LIBCOMM = $(TMP)\$(MODEL)uupcmsc.lib
LIBNT = $(TMP)\uupcnt.lib
LIBOS2 = $(TMP)\$(MODEL)uupcos2.lib
LIBDOS = $(TMP)\$(MODEL)uupcdos.lib
WORKFILE = $(TMP)\UUPCTEMP.TMP
DEFFILE = $(TM